package com.imohoo.shanpao.git;

import com.imohoo.libs.converter.adapter.MyCall;

import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by zhaobo on 2017/1/3.
 */

public interface GitHubService {
    @GET("users/{user}/repos")
    MyCall<List<Repo>> listRepos(@Path("user") String user);

    Call<List<Repo>> listReposa(@QueryMap() Map<String, String> users);
}
